package com.hejun.seckillconsumer.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * (PurchaseRecord)实体类
 *
 * @author makejava
 * @since 2024-02-29 10:02:17
 */
@TableName("purchase_record")
@AllArgsConstructor
@NoArgsConstructor
public class PurchaseRecord implements Serializable {
    private static final long serialVersionUID = -45260948207840961L;

    @TableId(value = "id")
    private Integer id;

    @TableField("user_id")
    private Integer userId;
    @TableField("products_id")

    private Integer productsId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getProductsId() {
        return productsId;
    }

    public void setProductsId(Integer productsId) {
        this.productsId = productsId;
    }

}

